home *** CD-ROM | disk | FTP | other *** search
/ The Fatted Calf / The Fatted Calf.iso / Applications / Games / Chess / Source / Board3D.h < prev    next >
Text File  |  1994-04-01  |  690b  |  32 lines

  1. @interface Board3D : Control
  2. {
  3.   id square[8][8];
  4.   id backBitmap;
  5.   id pieces;
  6.   id background;
  7.  
  8.   void *print_image;
  9.   int print_size;
  10.   int print_pwide;
  11.   int print_phigh;
  12.   int print_bps;
  13.   int print_ssp;
  14.   int print_config;
  15.   int print_mask;
  16. }
  17.  
  18. + newFrame:(const NXRect *) f;
  19. - slidePieceFrom: (int)r1 : (int)c1 to: (int)r2 : (int)c2;
  20. - setBackgroundBitmap: sender;
  21. - backgroundBitmap;
  22. - drawSelf:(const NXRect *) f :(int)rectCount;
  23. - setupPieces;
  24. - printPSCode: sender;
  25. - (int)typeAt: (int)r : (int)c;
  26. - layoutBoard: (short *)b color: (short *)c;
  27. - highlightSquareAt: (int)r : (int) c;
  28. - flashSquareAt: (int)r : (int) c;
  29. - placePiece: (int)p at: (int)r : (int)c color:(int)col;
  30. @end
  31.  
  32.